<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>导入配置管理</title>
    <script>document.write('<script src="../../plugin/vue/js/import.js?' + Math.random() + '"><' + '/script>');</script>
    <script>_import("../../plugin/vue/js/before.js");</script>
</head>
<body>
	<div id="app" class="container" v-cloak>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title"><i class="el-icon-document mr5"></i>导入配置</h3>
            </div>
            <div class="panel-body">
                <el-row :gutter="20">       
                    <el-col span="24">
                        <div class="grid-content">
                        	 <!--  -->
                            <el-row class="tr mb3">
                            	<el-button type="primary" @click="add">添加</el-button>
                            </el-row>
                            
					 		<el-table id="tableList" :data="list" border style="width: 100%;" class="w-tablesub">
                               	<el-table-column  prop="table_id" label="编号" width="200">
								</el-table-column>
								<el-table-column  prop="table_name" label="表名">
								</el-table-column>
                				<el-table-column  label="列表描述"  class="w-textsub">
				                    <template slot-scope="scope">
				                        <el-popover trigger="hover" placement="top-start">
				                            <p class="w-tablepop">{{ shorten(scope.row.table_desc) }}</p>
				                            <div slot="reference" >
				                               	{{ scope.row.table_desc }}
				      		                </div>		                           
				                        </el-popover>
				                    </template>
                				</el-table-column>
                				<el-table-column label="操作">
                                     <template slot-scope="scope">
                                     	<span v-if="scope.row.msg_status!='msg_status_1'" style="font-size:18px">
                                     		<i class="el-icon-edit" title="编辑" @click="edit(scope.row)" style="cursor:pointer;"></i>
                                     		<i class="el-icon-download" title="下载模版" @click="download(scope.row)" style="cursor:pointer;"></i>
                                     		<i class="el-icon-delete" title="删除" @click="del(scope.row)" style="cursor:pointer;"></i>
                                     	</span>                                     		
                                     </template>
                                </el-table-column>   
                               
                            </el-table> 
                            <div class="block mt10">
                                <el-pagination @size-change="handleSizeChange"
                                    @current-change="handleCurrentChange"
                                    :current-page="currentPageNbr" :page-sizes="pageSizes"
                                    :page-size="pageSize" class="w-tc"
                                    layout="total, sizes, prev, pager, next, jumper"
                                    :total="totalRecords"> </el-pagination>
                            </div>
                             
                        </div>
                    </el-col>
                   
                </el-row>
            </div>
        </div>    
        
    </div>
<script>
    _import("../../plugin/vue/js/after.js");
</script>       
<script>
    _import("js/importtablelist.js");
</script>
</body>
</html>